-- GENERATED SPELL FOR [Corrupted Stomper] --


function spell0_17353(pUnit, Event) --@Stomp,n/a--
pUnit:FullCastSpellOnTarget(31277,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17353', 571, 1)
end

function Sorts_17353(pUnit, Event)
local choix_sorts_17353 = math.random(0, 0)
if choix_sorts_17353 == 0 then
pUnit:RegisterEvent('spell0_17353', 1, 1)
end
end

function mob17353_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17353', math.random(1500, 3000), 1)
end

function mob17353_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17353_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17353_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17353, 1, 'mob17353_Action')
RegisterUnitEvent(17353, 2, 'mob17353_Leave')
RegisterUnitEvent(17353, 3, 'mob17353_Kill')
RegisterUnitEvent(17353, 4, 'mob17353_Die')
